package com.quanxiaoha.weblog.common.domain.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 收藏文章与收藏夹关联实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("t_favorite_article_folder_rel")
public class FavoriteArticleFolderRelDO {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 收藏记录id
     */
    private Long favoriteId;

    /**
     * 收藏夹id
     */
    private Long folderId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
